package com.edushare.common.vo.auto;

import java.util.Date;
import java.util.List;

import org.apache.cayenne.CayenneDataObject;

import com.edushare.common.vo.AcademicYearModel;
import com.edushare.common.vo.Curricula;
import com.edushare.common.vo.FilesUploaded;
import com.edushare.common.vo.Groups;
import com.edushare.common.vo.SystemBackup;
import com.edushare.common.vo.UnivDeptLink;
import com.edushare.common.vo.UniversityCourseLinks;
import com.edushare.common.vo.UserRoles;

/**
 * Class _Universities was generated by Cayenne.
 * It is probably a good idea to avoid changing this class manually,
 * since it may be overwritten next time code is regenerated.
 * If you need to make any customizations, please use subclass.
 */
public abstract class _Universities extends CayenneDataObject {

    public static final String CREATION_TIMESTAMP_PROPERTY = "creationTimestamp";
    public static final String CURRENT_ACAD_YEAR_PROPERTY = "currentAcadYear";
    public static final String ELECTIVE_SELECTION_TIME_PROPERTY = "electiveSelectionTime";
    public static final String SETTINGS_PROPERTY = "settings";
    public static final String STATUS_PROPERTY = "status";
    public static final String UNIQUE_NAME_PROPERTY = "uniqueName";
    public static final String UNIVERSITY_ADDRESS_PROPERTY = "universityAddress";
    public static final String UNIVERSITY_DESC_PROPERTY = "universityDesc";
    public static final String UNIVERSITY_ID_PROPERTY = "universityId";
    public static final String UNIVERSITY_NAME_PROPERTY = "universityName";
    public static final String ACADEMIC_YEAR_MODELS_PROPERTY = "academicYearModels";
    public static final String BACKUPS_PROPERTY = "backups";
    public static final String CURRICULA_PROPERTY = "curricula";
    public static final String DEPT_LINKS_PROPERTY = "deptLinks";
    public static final String GROUPS_PROPERTY = "groups";
    public static final String IMAGE_FILE_PROPERTY = "imageFile";
    public static final String LINKED_COURSES_PROPERTY = "linkedCourses";
    public static final String USER_ROLE_LIST_PROPERTY = "userRoleList";

    public static final String UNIVERSITY_ID_PK_COLUMN = "UNIVERSITY_ID";

    public void setCreationTimestamp(Date creationTimestamp) {
        writeProperty("creationTimestamp", creationTimestamp);
    }
    public Date getCreationTimestamp() {
        return (Date)readProperty("creationTimestamp");
    }

    public void setCurrentAcadYear(Integer currentAcadYear) {
        writeProperty("currentAcadYear", currentAcadYear);
    }
    public Integer getCurrentAcadYear() {
        return (Integer)readProperty("currentAcadYear");
    }

    public void setElectiveSelectionTime(Integer electiveSelectionTime) {
        writeProperty("electiveSelectionTime", electiveSelectionTime);
    }
    public Integer getElectiveSelectionTime() {
        return (Integer)readProperty("electiveSelectionTime");
    }

    public void setSettings(String settings) {
        writeProperty("settings", settings);
    }
    public String getSettings() {
        return (String)readProperty("settings");
    }

    public void setStatus(Integer status) {
        writeProperty("status", status);
    }
    public Integer getStatus() {
        return (Integer)readProperty("status");
    }

    public void setUniqueName(String uniqueName) {
        writeProperty("uniqueName", uniqueName);
    }
    public String getUniqueName() {
        return (String)readProperty("uniqueName");
    }

    public void setUniversityAddress(String universityAddress) {
        writeProperty("universityAddress", universityAddress);
    }
    public String getUniversityAddress() {
        return (String)readProperty("universityAddress");
    }

    public void setUniversityDesc(String universityDesc) {
        writeProperty("universityDesc", universityDesc);
    }
    public String getUniversityDesc() {
        return (String)readProperty("universityDesc");
    }

    public void setUniversityId(Integer universityId) {
        writeProperty("universityId", universityId);
    }
    public Integer getUniversityId() {
        return (Integer)readProperty("universityId");
    }

    public void setUniversityName(String universityName) {
        writeProperty("universityName", universityName);
    }
    public String getUniversityName() {
        return (String)readProperty("universityName");
    }

    public void addToAcademicYearModels(AcademicYearModel obj) {
        addToManyTarget("academicYearModels", obj, true);
    }
    public void removeFromAcademicYearModels(AcademicYearModel obj) {
        removeToManyTarget("academicYearModels", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<AcademicYearModel> getAcademicYearModels() {
        return (List<AcademicYearModel>)readProperty("academicYearModels");
    }


    public void addToBackups(SystemBackup obj) {
        addToManyTarget("backups", obj, true);
    }
    public void removeFromBackups(SystemBackup obj) {
        removeToManyTarget("backups", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<SystemBackup> getBackups() {
        return (List<SystemBackup>)readProperty("backups");
    }


    public void addToCurricula(Curricula obj) {
        addToManyTarget("curricula", obj, true);
    }
    public void removeFromCurricula(Curricula obj) {
        removeToManyTarget("curricula", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Curricula> getCurricula() {
        return (List<Curricula>)readProperty("curricula");
    }


    public void addToDeptLinks(UnivDeptLink obj) {
        addToManyTarget("deptLinks", obj, true);
    }
    public void removeFromDeptLinks(UnivDeptLink obj) {
        removeToManyTarget("deptLinks", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UnivDeptLink> getDeptLinks() {
        return (List<UnivDeptLink>)readProperty("deptLinks");
    }


    public void addToGroups(Groups obj) {
        addToManyTarget("groups", obj, true);
    }
    public void removeFromGroups(Groups obj) {
        removeToManyTarget("groups", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<Groups> getGroups() {
        return (List<Groups>)readProperty("groups");
    }


    public void setImageFile(FilesUploaded imageFile) {
        setToOneTarget("imageFile", imageFile, true);
    }

    public FilesUploaded getImageFile() {
        return (FilesUploaded)readProperty("imageFile");
    }


    public void addToLinkedCourses(UniversityCourseLinks obj) {
        addToManyTarget("linkedCourses", obj, true);
    }
    public void removeFromLinkedCourses(UniversityCourseLinks obj) {
        removeToManyTarget("linkedCourses", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UniversityCourseLinks> getLinkedCourses() {
        return (List<UniversityCourseLinks>)readProperty("linkedCourses");
    }


    public void addToUserRoleList(UserRoles obj) {
        addToManyTarget("userRoleList", obj, true);
    }
    public void removeFromUserRoleList(UserRoles obj) {
        removeToManyTarget("userRoleList", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<UserRoles> getUserRoleList() {
        return (List<UserRoles>)readProperty("userRoleList");
    }


}
